<?php

namespace Hui\StoreBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Hui\StoreBundle\Entity\LoaiSanPham
 */
class LoaiSanPham
{
	const LOAI_MAY_ANH = 1;
	const LOAI_MAY_QUAY = 2;
	
	
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var string $tenLoai
     */
    private $tenLoai;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set tenLoai
     *
     * @param string $tenLoai
     * @return LoaiSanPham
     */
    public function setTenLoai($tenLoai)
    {
        $this->tenLoai = $tenLoai;
    
        return $this;
    }

    /**
     * Get tenLoai
     *
     * @return string 
     */
    public function getTenLoai()
    {
        return $this->tenLoai;
    }
    
    private $type;
    
    public function getType()
    {
    	return $this->$type;
    } 
    
    public function setType($type)
    {
    	$this->$type = $type;
    }
}